package main

import (
	"fmt"
)

func main() {
	coffee := "Espresso"
	// var pointer *string = &coffee
	pointer := &coffee

	fmt.Println("Coffee name for coffee variable:", coffee)
	fmt.Println("Memory location for coffee variable:", &coffee)
	fmt.Printf("Pointer address for coffee variable: %p\n", &coffee)
	fmt.Printf("Pointer address for coffee variable: %p\n", pointer)

	coffeeCopy := coffee
	fmt.Println("Coffee name for coffeeCopy variable:", coffeeCopy)
	fmt.Println("Memory location for coffeeCopy variable:", &coffeeCopy)
	fmt.Printf("Pointer address for coffeeCopy variable: %p\n", &coffeeCopy)

}
